package com.gxa.service;

import com.gxa.pojo.Duty;

import java.util.List;
import java.util.Map;

public interface DutyService {
    List<Duty> findDutyByPage(Integer page, Integer size);

    List<Duty> findAll();

    Integer findAllDuty();

    Integer insertDuty(Map map);

    Integer updateDutyById(Map map);

    Integer updateDutyState(Map map);

    Integer deleteDutyById(Integer id);

    String findDutyByName(String name);
}